package com.lancer.cloud.common.exception;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.lancer.cloud.common.serializer.CustomOauthExceptionSerializer;
import org.springframework.security.oauth2.common.exceptions.OAuth2Exception;

/**
 * @author caijinbang
 * @date 2019-06-18 19:50
 */
@JsonSerialize(using = CustomOauthExceptionSerializer.class)

public class CustomOauth2Exception extends OAuth2Exception {

    private static final long serialVersionUID = -1304623269342543459L;

    public CustomOauth2Exception(String msg) {
        super(msg);
    }
}
